<script setup>
  // import { ref} from 'vue'
  // const item = ref ('');

import { useMouse } from '/onMouse.js';
const { x, y } = useMouse()
</script>
<template>
  <div>
    <h1>鼠标位置</h1>
    <p>鼠标位置是：{{ x }},{{ y }}</p>
  </div>
  <!-- Mouse position is at: {{ x }}, {{ y }} -->
  <!-- {{ item }}
  <input v-model="item" type="text"> -->
</template>
